from windoh.control import Control
from windoh.controls.label import Label

class Frame(Control):
    def __init__(self, label=None, **kwargs):
        Control.__init__(self, **kwargs)
        self.title = Label(label, left=0, bottom=0, right=0, height=20,
            border_color=(1.0, 1.0, 1.0), border_width=1, border_style='solid')       
        self.append(self.title)
        self.client_area = Control(left=0, right=0, top=0, bottom=20,
            border_color=(1.0, 0.0, 1.0), border_width=1, border_style='solid')       
        self.append(self.client_area)
        
